﻿using System.Runtime.Serialization;

namespace Toybox.NicoSharp.Video.RiApi.RiApiPrimitives
{
	public class AbstractSearch : AbstractRiApi
	{
		
		#region Public Members

		[DataMember]
		public Item[] list;

		[DataMember]
		public int count;

		[DataMember]
		public int page;

		#endregion Public Members


		#region [SubClass]

		[DataContract]
		public class Item
		{
			[DataMember]
			public string id;

			[DataMember]
			public string thumbnail_url;

			[DataMember]
			public string length;

			[DataMember]
			public string title;

			[DataMember]
			public int view_counter;

			[DataMember]
			public int num_res;

			[DataMember]
			public int mylist_counter;

			[DataMember]
			public string first_retrieve;

			[DataMember]
			public string description_short;
		}

		#endregion [SubClass]

	}
}
